#include "NFGameTableSinkModule.h"
#include "ZhaJinHua/NFZhaJinHuaSink.h"

enum GAME_TYPE_ID
{
    GAME_ZHA_JIN_HUA = 100,
};

NF_SHARE_PTR<NFIGameTableSink> NFGameTableSinkModule::CreateGameTableSink(int gameId)
{
    switch (gameId)
    {
        case GAME_ZHA_JIN_HUA:
        {
            NF_SHARE_PTR<NFIGameTableSink> pGameTableSink = NF_SHARE_PTR<NFIGameTableSink>(NF_NEW NFZhaJinHuaSink(pPluginManager));
            if (pGameTableSink)
            {
                pGameTableSink->Awake();
                pGameTableSink->Init();
                pGameTableSink->AfterInit();
            }
            return pGameTableSink;
        }
        break;
        default:
        {
            return nullptr;
        }
    }
    return nullptr;

}